import javax.swing.*;

public class Test {
    public static void main(String[] args) {
        InnerController ic = new InnerController(1);
        InnerController ic1 = new InnerController(0);
        ic.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
        ic.setVisible(true);
        ic1.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
        ic1.setVisible(true);
    }
}
